git_root
Find the root of a git repository (pilfered from https://stackoverflow.com/a/53675112)
pip install git+https://github.com/jtilly/git_root
from git_root import git_root
git_root()
Find the root of your git repo
pip install git-root==0.1
Find the root of a git repository (pilfered from https://stackoverflow.com/a/53675112)
pip install git+https://github.com/jtilly/git_root
from git_root import git_root
git_root()