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.