Fix Git Error: You Need to Resolve Your Current Index First

The error: You need to resolve your current index first in Git means a merge conflict and you are not able to try out another branch if you don’t resolve the conflict. This error message often indicates that a merge…