Sometimes when you want to fork a branch and push your exisiting work, github rejects your push (sometimes caused by being offline). git st
looks fine.
When I tried to push, it showed this:
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/something.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing