The standard commands to use git in a local folder and to keep a current version online in GitHub (synchronisation).
Command | Description |
---|---|
Go into the desired folder - right-click "Git-Bash here"` | This way you don't have to cd into the folder. If you have cloned your repository, you are ready to go. If not, you don't need to specify a target location of the folder to be cloned. |
git clone RepoURL (insert desired name (with path) or leave empty) |
Used to establish a connection between the repository and a local folder (creation of a git folder under hidden files with the required information). You can insert a target location if you don't want to use the current folder or repository name. |
git pull |
Use to (re-)download existing data in a repository to the local folder. |
git status |
Use to check the status of synchronization. |