+1 vote
in Bitbucket by
What is a repository in GIT, and how to create it?

1 Answer

0 votes
by

A repository in GIT contains a directory named .git, where it stores all the metadata for the repository. All the content in the .git directory is restricted to the GIT for usage.

Creating a repository is easy in GIT; all you have to do is run the ‘git init’ command. With this command .git repository, you can instantly create a directory in the project directory.

...