Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Git(Computer Science ) Questions and Answers
Home
Topic
Computer Science
Git
Question 1.
Which is the following is the default text editor for the Bash shell with a Windows-based Git install?
Bash
Vim
Emacs
Notepad++
Explanation:-
Answer: Option B. ->
Vim
Question 2.
What is the default text editor for the Bash shell with a Windows-based Git install?
Emacs
Vim
Notepad++
Bash
Explanation:-
Answer: Option B. ->
Vim
Question 3.
What command removes untracked files from your working directory
git commit
git clean -f
git clean
git reset
Explanation:-
Answer: Option C. ->
git clean
Question 4.
Which programming language was used to create Git?
C
HTML
PHP
C++
Explanation:-
Answer: Option A. ->
C
Question 5.
What is the incorrect statement regarding information?
Processed information are taken to make decisions
Cost effectiveness is a feature of a quality information
Value of the information will be increased as time passes
All information is not suitable for decision making
Explanation:-
Answer: Option C. ->
Value of the information will be increased as time passes
Question 6.
Command use to connect remote repo with local repo
git remote add
git init
git connect repo
git configure
Explanation:-
Answer: Option A. ->
git remote add
Question 7.
Which one of them is incorrect command
git add Test.txt
git pull origin master
git push origin master
None
Explanation:-
Answer: Option D. ->
None
Question 8.
Which of the following is the correct way to initialize a new Git repository?
git add .
git init
git commit
none of the above
Explanation:-
Answer: Option B. ->
git init
Question 9.
How would you commit this with the message "adding new authors to index"?
git commit -m "adding new authors to index"
git commit "adding new authors to index"
git commit .
none of the above
Explanation:-
Answer: Option A. ->
git commit -m "adding new authors to index"
Question 10.
Which of the following commands will create a new branch?
git checkout new-branch
git checkout -b new-branch
git clone new-branch
git create-branch new-branch
Explanation:-
Answer: Option B. ->
git checkout -b new-branch
1
2
3
4
Next →
One click Login
Login With Google
Old way of Login
Login With Email