Task 1 - Creating a git repo
Open GitBash and navigate to your folder of choice.
Create a new directory called
localRepo
.Navigate into this newly created directory.
Turn it into a git repository by typing
git init
.Check that the repository has been initialised - use the
ls -a
command to see all the hidden files, you should now see.git
folder.Create a new file in this directory -
touch file1.txt
.Check if git recognised any change being made -
git status
.