This repository contains two scripts for checking and installing Git on your system: one for Unix-like systems (Bash script) and one for Windows (Batch script). Additionally, there's a tutorial script for learning Git basics.
git_tutorial.sh: Tutorial script for learning Git.
- A working installation of Git
- Bash shell
- The
git_tutorial.shscript
- Create a New Folder:
Create a new folder named
testGitRepo.
mkdir testGitRepo
- Move the Script:
Move
git_tutorial.shinto thetestGitRepofolder.
mv /path/to/git_tutorial.sh /path/to/testGitRepo/
- Navigate to the Folder:
Change your directory to
testGitRepo.
cd /path/to/testGitRepo
- Set Script Permissions:
Make
git_tutorial.shexecutable.
chmod +x git_tutorial.sh
- Run the Tutorial Script: Start the tutorial by executing the script.
./git_tutorial.sh