๐ด๐ถ๐ ๐ฐ๐น๐ผ๐ป๐ฒ <๐ฟ๐ฒ๐ฝ๐ผ> : To work on an existing project, you’ll want to clone (copy) it to your local machine. This command does that.
๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ผ๐๐ -b <๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐ป๐ฎ๐บ๐ฒ> : If you want to switch to a different branch, use this command.
๐ด๐ถ๐ ๐ฎ๐ฑ๐ฑ <๐ณ๐ถ๐น๐ฒ๐ป๐ฎ๐บ๐ฒ> : After you’ve made some changes to your files, you’ll want to stage them for a commit. This command adds a specific file to the stage.
๐ด๐ถ๐ ๐ฎ๐ฑ๐ฑ . ๐ผ๐ฟ ๐ด๐ถ๐ ๐ฎ๐ฑ๐ฑ -๐ : Instead of adding files one by one, you can add all your changed files to the stage with one command.
๐ด๐ถ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐ -๐บ “๐๐ผ๐บ๐บ๐ถ๐ ๐บ๐ฒ๐๐๐ฎ๐ด๐ฒ” : Now that your changes are staged, you can commit them with a descriptive message.
๐ด๐ถ๐ ๐ฝ๐๐๐ต ๐ผ๐ฟ๐ถ๐ด๐ถ๐ป <๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต๐ป๐ฎ๐บ๐ฒ> : This command sends your commits to the remote repository.
Git is an extremely powerful tool with plenty more commands and options.
However, this guide gives you a good start and reference point as you continue to explore and leverage Git for your version control needs.