Computer scienceSystem administration and DevOpsGitGit commands

Working with remote repository

Command order

Report a typo

Andrew created his own GitHub repository https://github.com/my_repository/code.git. He wants to perform the following sequence of actions:

  1. download the repository to his local computer,
  2. make changes to it and commit them,
  3. add changes to GitHub in the main branch.

In what order should he execute the following commands?

Put the items in the correct order
git push origin main
git commit
git clone https://github.com/my_repository/code.git
___

Create a free account to access the full topic