In the last session, we did an introduction to version control and collaborative working with Git and Github. Just like knowing how to use the Command Line, Git & Github will be very important in your daily workflow as a programmer / developer.
Let’s put your Git and Github skills to practice! Find the assignment below.
git --version
in your shell. If it returns a git version, it means git is installed. If it shows an error message, you need to install git.Once Git is installed setup your global config values if you haven’t. Run the commands:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Replace the parts in quotes with your info.
Setup is done! You’re good to go.
Create an account in https://github.com/ → Sign Up.
You might wonder what really this is, and why you need to do this setup (എന്തിനു നിങ്ങൾ ഇത് ചെയ്യണം?)
Let’s refer to our machine as ‘local machine’, where we use git ‘locally’ for version control. We refer to Github as ‘remote’, this is where we push our project files to using git from our local machine.