CompTIA Linux+ (XK0-004) — Question 102

A site reliability engineer updated the latest configuration management scripts and committed them to a workstream called either test or patch. A Linux administrator wants to ensure these latest workstreams are able to be retrieved to the server. Which of the following is the BEST Git attribute to use?

Answer options

Correct answer: D

Explanation

The best command to retrieve the latest updates from a remote repository into the current branch is 'pull'. 'Fetch' only retrieves updates without merging, while 'branch' and 'log' do not retrieve changes from the remote repository.