Git-ting Started
The essential commands that will Git you moving
Git is one of those tools that we take for granted when writing software. Here are some basic commands to get you started on your journey as a programmer.
Setting up
git init ...
Making Your Changes
Git Status
git status
Git Add
git add .
The Git Add command adds in files with changes that need to be committed into a staging area. At this point, the changes are not yet saved, although they are recorded down.
Git Commit
git commit -m "<insert commit message here>"
Git commit, as the name suggests, saves your changes as a commit. It is customary to add a commit message using the -m flag, which serves as a descriptive reminder of the changes that you have made. This might not seem so useful when you are making changes to code that you alone work on.