bashfunc: Fix git_root() based on gist comments
bashfunc: Fix git_root() based on gist comments

https://gist.github.com/HaleTom/631efef6fb6ae86618128647dc887aee#gistcomment-3014068

HaleTom/dotfiles,HaleTom/dotfiles,HaleTom/dotfiles,HaleTom/dotfiles