When pulling or pushing your branch there are 4 states you may find yourself in:
-
Behind Github - Github has all the commits on your working copy of the branch, plus some extras. When you are updating your copy of
main
, it will always be this state. A feature branch may be in this state if you've been pairing -
Ahead of Github - your branch has all the commits that Github has, plus some extras. Your feature branch will be in this state most of the time