return undefined if we arent in a git repo