Add a git_root function

Searches up to find the git root of whatever directory you are in.  If
not, it keeps you where you are