[git] Execute commands in a Git repo root