Interview Prep/Git & GitHub/Recovery and incident handling

What is the first thing to check when a developer says "my push is rejected"?

BeginnerProductionRecovery and incident handling
Answer

Read the exact message. fetch first means pull or rebase; protected branch hook declined or GH006 means the branch rules require a PR; GH013 or secret detected means push protection blocked a secret; remote: error: File ... exceeds GitHub's file size limit means a file over 100 MB.

All Git & GitHub questions Roadmap: Git & GitHub

More on Recovery and incident handling