Git Quiz (Set 1) Git (Set 1) 1 / 10 What is the purpose of 'git push'? To create a new branch in a remote repository To merge changes from a remote repository into the local branch To send local changes to a remote repository To discard local changes and revert to the last commit 2 / 10 What is a 'conflict' in Git? A disagreement between developers about coding standards A situation where changes in different branches cannot be automatically merged An issue related to server availability A bug in the Git software 3 / 10 What is the purpose of 'git checkout'? To create a new branch To merge two branches To switch between branches or commits To push changes to a remote repository 4 / 10 What does 'git clone' do? It creates a new branch in a repository It copies a repository from a remote server to your local machine It pushes changes to a remote repository It discards local changes and reverts to the last commit 5 / 10 What is the purpose of 'git merge'? To create a new branch To discard changes and revert to a previous commit To combine changes from one branch into another To push changes to a remote repository 6 / 10 What is a 'branch' in Git? A collection of files in a repository A copy of the entire repository A separate line of development in a repository A version of the Git software 7 / 10 What does 'git pull' do? It creates a new branch in Git It fetches changes from a remote repository and merges them It pushes changes to a remote repository It discards local changes and reverts to the last commit 8 / 10 What is the purpose of the 'git commit' command? To push changes to a remote repository To merge two branches To save staged changes to the local repository To create a new branch 9 / 10 What is a 'repository' in Git? A file that contains code documentation A unit of software deployment A collection of source code files and their history A command used to create new branches 10 / 10 What is the purpose of Git? To create graphic designs To manage and track changes in source code To create database schemas To generate automated tests Your score isThe average score is 0% 0% Restart quiz