When trying to manage source control in such a bewildering state that attempting to do anything becomes a complicated game where the out come is ether a successful code commit or losing all of your changes.
Why is Tom still here and cursing at his computer?
He forgot to stash on a detached head and now he's trying to play git jenga to get his commits on his branch.