I found a solution that worked for me.
- Re-clone the repository into another directory.
- Copy the
.gitfolder from newly cloned repo & replace the one in the original repo.
This will repair the detached HEAD state which occurred as a result of (in this particular case) uncommitted changes that were discarded when computer was forced to shut down.