Provide more user-friendly errors for git operations

See #42. Let's show errors in a nice overlay.