Commiting codes to TFS via below cmd codes.
cd /home/fabrikam/fiber
git init .
git add --all
git commit -m "first commit of my code"
git remote add origin https://fabrikops2.visualstudio.com/DefaultCollection/Fabrikam/_git/FabrikamApp
git push origin master
Team Explorer -> Project Name (RC) -> Open Comment Prompt