"I am getting error". Would you like to share the error message with us? It would be a great help for anyone trying to give advice to you. Also please share any other messages exactly as they are. Screenshots would be the best.
Did you already read the article that Martin linked in the first reply of this thread? It describes how to map the project folder to source control.
Anyway this is where you can check your existing workspace mappings: