git init-> initialise empty git repogit status-> check the status of current repogit add <filename>-> add current file to staginggit add .-> add all file to staginggit commit -m <message>-> for compiling the changesgit checkout <filename>-> to revert the changes to last stage or commitgit checkout .-> to revert the changes in current directory to last stage or commitgit clone <url>-> clone a repogit pull-> fetching the latest changes
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|