Get Started
We'll launch our Command shell first to get started with Git. Git bash, which is included with Git for Windows, can be used on Windows. The built-in terminal is available for Mac and Linux.
Now introduce yourself to Git. This is critical for version control systems, because each Git commit relies on it:
git config --global user.name "name" git config --global user.email "name@email.com"
To create and initialize git, create a folder either using the Graphic User Interface or Terminal by using this command
mkdir mysitecd mysite
Initialize git in that project by running the following command:
git init
You can utilize Git help if you're having problems remembering commands or options for commands. The help command can be used in a variety of ways in the command line:
git -help
or
git help --all