Question 41 · 300 in bank
A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?
Show answer
Answer: B
Explanation
The correct order of Git commands to add a new configuration file to a Git repository is: pull to get the latest changes from the remote repository. add to add the new configuration file to the staging area. commit to commit the changes to the local repository. push to push the changes to the remote repository. Therefore, the correct answer is: B. pull -> add -> commit -> push
Source: Adapted from community discussion — linux_admin

