Need Assistance?

support@tutorialshub.in

Git Fundamentals

Installing Git and initial configuration

ADVERTISEMENT
Git Free Lesson
5 min read
ADVERTISEMENT

Install Git

Install Git for your operating system and verify that the command is available in a terminal. Configuration is normally stored at the global user level, while repository-specific settings can override it.

Configure your identity

Git records an author name and email address in commits. Use the identity you want associated with your development history. In a company, this is usually the work identity required by the team's repository policy.

Inspect configuration

Do not guess which configuration is active. git config --list --show-origin can show the values Git is reading and where they came from. This is especially useful when multiple configuration files exist.

ADVERTISEMENT