For some reason whenever I go to my command line this is what I see next to my cwd:

I few days back I got an error message that said I had a merge conflict. I didn't know what this meant so I stopped trying to commit. Now whenever I go onto the git terminal I see (master|MERGING). And whenever I try to commit (even when it's not on the same remote) I get a lengthy error:

It says to fix the error but I'm not sure how to go about that. What exactly do I need to do?