Interview Prep/Git & GitHub/Rapid-fire commands

Show commits on my branch that are not pushed yet, and commits waiting to be pulled.

BeginnerProductionRapid-fire commands
Answer
git log @{u}..HEAD --oneline   # to push
git log HEAD..@{u} --oneline   # to pull
All Git & GitHub questions Roadmap: Git & GitHub

More on Rapid-fire commands