Hi in this article I am going to show you how to set up Git in your project Directory
Note: I have used Git Lab in this article.
TERMINAL
Step 1: go to your terminal
Step 2: Navigate to your project directory
WEB BROWSER
Step 1: got to Git Lab. Register or Sign in
Step 2: Add a new project
Step 3: click
Step 4: Copy the HTTPS Link
Step 5: Paste it in your terminal likewise
git clone {https link}
if you see something like this you are going in the right way
myproject git:(master) |
Step 6: Make your initial commit
git commit -m "Initial Commit | Date"