Question 1/15
Question 2/15
Question 3/15
Question 4/15
Question 5/15
Question 6/15
Question 7/15
Question 8/15
Question 9/15
Question 10/15
Question 11/15
Question 12/15
Question 13/15
Question 14/15
Question 15/15
Question 1/15
The git diff command shows the differences between two commits, including changes made to files and lines of code.
Question 2/15
The git status command shows the current status of the repository, including any changes made and files that are staged for commit.
Question 3/15
A pull request is a request to merge changes made in one branch to another branch, typically the main development branch.
Question 4/15
A conflict in Git occurs when two branches have made changes to the same file or lines of code, and Git is unable to automatically merge the changes. Developers must manually resolve the conflict by editing the affected files and choosing which changes to keep.
Question 5/15
The git branch command creates a new branch in the repository.
Question 6/15
In Git, a remote is a server hosting a Git repository. It allows developers to push and pull changes to and from the remote repository.
Question 7/15
The git clone command creates a local copy of a repository from a remote server.
Question 8/15
The git pull command updates the local repository with changes from the remote repository.
Question 9/15
The git add command adds files to the staging area, preparing them to be committed.
Question 10/15
The git commit command creates a new commit with the changes made to the files in the staging area.
Question 11/15
A branch in Git is a version of the codebase that is separate from the main development branch, allowing for experimentation and development of new features without affecting the main codebase.
Question 12/15
The git checkout command switches to a different branch in the repository.
Question 13/15
Git is a distributed version control system used for tracking changes in code and collaborating on software development projects.
Question 14/15
The git init command initializes a new Git repository.
Question 15/15
The purpose of a Gitignore file is to list the files and directories that should be ignored by Git when tracking changes. This is useful for excluding files like temporary files, log files, or compiled code that should not be committed to the repository.