see if there is a git repo code example Example 1: check which repo i am on git git config -l Example 2: check which repo i am on git git remote -v