fatal: You are not currently on a branch
fatal: You are not currently on a branch. To push the history leading to the current (detached HEAD) state now, use git push origin HEAD:<name-of-remote-branch>
git push origin HEAD:name-of-remote-branch-without-origin/
git status has no upstream branch
See also
Advertising: