Quick 15 minute tutorial:
Generally a quick google search will answer any other questions you may have about git.
- Install git
- Clone the repository (
git clone REPOSITORY_LINK
)
git branch
- Check what branches are availablegit checkout BRANCH_NAME
- Switch to branch
git fetch
- Updates remotes, generally safe to run with uncommitted workgit pull
- Updates everything
git add FILE_NAME
- Adds a file to track changes (usegit add .
to track all files in the current directory)git status
- Shows which files are being trackedgit commit
- Creates a "checkpoint" in the timelinegit push
- Pushes your changes (commits) to the remote repository