In this section, we will go through a list of Git commands, which we will be using frequently throughout the book:
- git init: This command initializes your local repository once when you are setting it up for the first time
- git remote add origin <server>: This command links your local <indexentry content="Git command:git remote add origin " dbid="164250" state="mod">directory to the remote server repository so that all the changes pushed are saved in the remote repository
- git status: This command lists the files/directories that are yet to be added, or are modified and need to be committed
- git add * or git add <filename>: This command adds files/directories so that <indexentry content="Git ...