What are the steps to check that local repo is synced with a remote one?
Use git ls-remote -h <remote> <branch> to find out the latest version on the remote side. Confirm that the local branch is neither ahead (which would indicate that we need to push) or behind (which would indicate that we need to pull).