Data Science for Bioinformatics Student ID: 21485094
Beatriz Manso
GIT – VERSION CONTROL
1. How do you determine which version of git is installed on your system and how
do you install git on your operating system?
How to verify if Git is installed and which version it is:
If it is not installed, we can do that by going on the command line and writing the following
commands:
- For LINUX:
sudo apt-get update
sudo apt-get install git
- For WINDOWS:
https://gitforwindows.org/
2. How to configure your git environment?
Configurations such as Name, Email, Default editor and Line ending need to be set.
The following configuration levels are available:
--local
By default, git config will write to a local level if no configuration option is passed. Local
level configuration is applied to the context repository git config gets invoked in. Local
configuration values are stored in a file that can be found in the repo's .git directory:
.git/config.
--global
Global level configuration is user-specific, meaning it is applied to an operating system
user. Global configuration values are stored in a file that is located in a user's home
directory. ~ /.gitconfig on unix systems and C:\Users\\.gitconfig on windows