check too see what upstream is set to code example Example: git check upstream git remote show origin