git repo name check code example Example: git name repository basename `git rev-parse --show-toplevel`