If you have lost the history of the commit, look for the ‘build 0051’ in the commits listed by reflog using:
git reflog
Then you need to set your head to the commit where ‘build 0051’ is not visible.
Then to recover commits from reflog do:
git checkout <commit_id>
# alternative, using reflog (see git-ready link provided)
# git checkout [email protected]{10} git checkout -b build_0051
# Make a new branch with the build_0051 as the tip
This will help you to push to github.
For further reference: https://git-scm.com/docs/git-reflog