Lecture # 3 - Setup Git Repository Locally
How to create a local git repository. Git Configuration.
Published
•1 min read
Setting up Local Git Repository:
Follow these steps to create a local repository.
Navigate to the directory that you want to initialize the git repository using the
cdcommand.

Now use
git initto initialize your directory to git repository. A hidden.gitfolder will be created after you run the command. Usels -ato see the hidden folder.
Now our local directory is initialized as a local git repository.
Git Configuration:
git config --global user.name "name"
git config --global user.email "email"
git config --list #TO LIST THE GIT CONFIGURATIONS





