important links:
reverting to previous version: http://stackoverflow.com/questions/2733873/reverting-a-single-file-to-a-previous-version-in-git
get current branch name: git branch
get reversion back to master/origin http://stackoverflow.com/questions/5772192/git-how-can-i-reconcile-detached-head-with-master-origin