added gitroot function
cds to the root of the git folder