Free Cisco 200-901 Actual Exam Questions - Question 3 Discussion
DRAG DROP Drag and Drop the GIT commands from the left onto the right that add modified local files to a remote repository. Not all options are used 
I’d say git add and git push are the main ones here. Git add stages the changes, and git push sends them to the remote repo. Git commit isn’t listed, so no commit step in this drag-and-drop.
git push is the only command here that actually sends changes to the remote repo.
git add stages files, but it’s git commit that finalizes changes to be pushed. So only git commit and git push directly affect the remote repo, with push actually updating it.
git commit is missing here, so only git push actually updates remote.
git add stages changes locally, but you still need git commit before git push to update the remote repo. So only git add and git push don’t directly add files remotely without commit.
git add and git push