What is a repository and how will you create it?
Answer / Sandeep Kumar Ram
A Git repository is a set of files that are tracked by Git. It stores the entire history of changes made to those files, including commits, branches, and tags.nnTo create a new Git repository, follow these steps:nn1. Initialize an existing directory as a Git repository using the command: `git init`.n2. Create a new file in the repository and make initial commit: `git add filename` followed by `git commit -m "Initial Commit"`
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a ‘conflict’ in git?
Explain the gitflow workflow?
Name a few git commands?
How to revert previous commit in git?
How is git instaweb used?
How can you create a repository in Git?
How to create tag?
What is the difference between the ‘git diff ’and ‘git status’?
What is the difference between ‘git remote’ and ‘git clone’?
Describe the branching strategies you have used.
What is the difference between rebasing and merge in git?
How will you know in git if a branch has already been merged into master?