At GitHub, we know that even great developers sometimes make mistakes. So, in
GitHub for Windows, we’ve added Undo support for
Discards, Commits, Rollbacks, and Merges:


If you’ve accidentally committed something, undoing it is now a snap. If
you’re still stuck though, you can always send an email to our