Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
Exercises
HTML
JavaScript
Git
CSS
PHP
Courses
Quizzes
Snippets
Tools
General Tools
Password Generator
HTML Editor
HTML Encoder
Base 64
Code Diff
JSON Beautifier
CSS Beautifier
Markdown Convertor
Find the Closest Tailwind CSS Color
Phrase encrypt / decrypt
Browser Feature Detection
Number convertor
JTW Decoder
CSS Maker
CSS Maker
CSS Maker text shadow
CSS Maker Text Rotation
CSS Maker Out Line
CSS Maker RGB Shadow
CSS Maker Transform
CSS Maker Font Face
Color Tools
Color Picker
Colors CMYK
Colors HWB
Colors HSL
Color Hex
Color mixer
Color Converter
Colors RGB
Color Contrast Analyzer
Color Gradient
String Tools
String Length Calculator
MD5 Hash Generator
Sha256 Hash Generator
String Reverse
URL Encoder
URL Decoder
Base 64 Encoder
Base 64 Decoder
Extra Spaces Remover
String to Lowercase
String to Uppercase
Word Count Calculator
Empty Lines Remover
HTML Tags Remover
Binary to Hex
Hex to Binary
Rot13 Transform on a String
String to Binary
Duplicate Lines Remover
EN
DE
RU
FR
ES
Change theme
Dark
Light
System
Books
Learn HTML
Learn CSS
Learn Git
Learn Javascript
Learn PHP
Learn python
Learn Java
How To
How To NodeJs
How To Linux
How To AngularJs
How To PHP
How To HTML
How To CSS
How To Symfony
How To Git
How To Apache
How To JavaScript
How To Java
How To Vue.js
How To Python
Git Basics
1/25
Which of the following must be present and configured on your local OS before Git installation?
Java Development Kit 1.8 or newer
Apache Maven
Jakarta Enterprise Edition web profile compliant server
Nothing
Next >
2/25
Which two configuration properties does the tool expect to be configured after installing Git and prior to issuing the first commit?
email address and password
username and password
username and IP address
username and email address
Next >
3/25
Which is not a Git configuration scope?
Local
System
User
Global
Directory
Next >
4/25
Who is attributed with developing Git?
Junio C. Hamano
Linus Torvalds
James Gosling
Kohsuke Kawaguchi
Next >
5/25
When should you use a single dash within a Git command, as opposed to a double dash?
When using a multi-character option
When referencing a git alias
When issuing git commands with multiple options
When using a single-character option
Next >
6/25
Which command is used to set up a new Git repository?
git install
git bash
git start
git init
Next >
7/25
What file is used to instruct Git to ignore certain files?
ignore.git
gitignore.txt
.gitignore
git.ignore
Next >
8/25
Which git command should you run to download your repository from GitHub to your computer?
git fork
git clone
git commit
git push
Next >
9/25
Which command is run to check the state of your local git repository since your last commit?
git check
git status
git commit
git diff
Next >
10/25
How should you save the current state of your code into Git?
By adding all changes and staging them with git add
By adding all changes and staging them with git stage
By committing the staged changes with git commit
By creating a new commit with git init
Next >
11/25
What is the correct commit syntax for all changes with a message?
git commit -a "Your commit message"
git commit -am "Your commit message"
git message -am "Your commit message"
git add -a "Your commit message"
Next >
12/25
What is a popular Git branching model used for collaboration?
Gitpush
Gitsync
Gitpull
Gitbranch
Gitflow
Next >
13/25
What are Git submodules?
Methods to synchronize branches
Tools to compress repository size
A way to include or link to other Git repositories within a parent repository
Features to enhance Git security
Scripts to automate Git commands
Next >
14/25
What is a Pull Request in the context of Git?
A feature to request code reviews
A request to merge a branch into another branch, often used in collaborative projects
A command to pull the latest changes from a remote repository
A method to clone repositories
An action to push local changes to a remote repository
Next >
15/25
What is the purpose of the 'git remote' command?
To clone a remote repository
To manage the set of repositories ('remotes') whose branches you track
To fetch updates from the remote repository
To track changes in remote branches
To push changes to the remote server
Next >
16/25
What does 'git rebase' do?
Clones a repository
Reapplies commits on top of another base tip
Merges two branches
Creates a new branch
Deletes a branch
Next >
17/25
What is a 'fork' in Git?
A personal copy of another user's repository
A branch in a repository
A merged branch
A committed change
A clone of a repository on the local machine
Next >
18/25
What is the purpose of the 'git branch -d' command?
To delete a branch
To rename a branch
To merge a branch
To list all branches
To create a new branch
Next >
19/25
What is the function of 'git clean'?
Commits changes
Removes untracked files from the working directory
Deletes a branch
Merges branches
Shows changes in files
Next >
20/25
What is 'git reflog' used for?
To manage a log of where your HEAD and branch references have been
To display the remote repository logs
To clear the commit history
To show the commit logs
To log out of the current Git session
Next >
21/25
What does 'git reset --hard' do?
Creates a backup of the current state
Merges the current branch with the master branch
Resets the working directory and index to the last commit, discarding all changes
Resets only the index but not the working directory
Resets only the working directory but not the index
Next >
22/25
Why are SSH keys used with Git?
To encrypt the repository
To lock a repository
For secure authentication to Git repositories without using passwords
To sign commits
To track changes in files
Next >
23/25
How do you change the URL of a remote repository in Git?
It cannot be changed once set
Using the 'git remote set-url' command
Using the 'git config set-remote' command
Modifying the .git/config file
Using the 'git remote change-url' command
Next >
24/25
How do you check the name of the current branch in Git?
Using the 'git status' command
Using the 'git branch' command
Checking the .git/HEAD file
Using the 'git current-branch' command
It is not possible to check
Next >
25/25
What is the effect of the 'git merge --no-ff' command?
Disables the merge operation
Forces a fast-forward merge
Creates a merge commit even if a fast-forward merge is possible
Rebases instead of merging
Merges without checking for conflicts
Next >
To get the result of the quiz, please provide your email address (optional)..
Get Certificate
It seems you haven't answered any questions yet. Please provide your answers to proceed.