Git Repository

Description

Create Repository
Navigate to path where solution is situated
git init Initialized empty Git repository in 'solution path'
git add * Add all files to local Git repository
git commit -am 'init' Commit all files to local Git repository and add message 'init'
git remote add origin 'url path of git repository in vsts' Add remote repository
git push -u origin --all Push all local files to remote repository
Clone Repository
Navigate to path where you want the solution to be cloned  
git clone 'url path of git repository in vsts' ./ Clone repository to current path
Add Commit Push
git status Check the status of current branch
git add * Add new files (if applicable) to local Git repository
git commit -am 'Message about current commit' Commit files to local Git repository and add message
git push Push files to remote repository
Pull (Get updates from remote repo)
git pull Get files from remote repository
Examples