Git Basics-Session-1
Git Basics-Session-1
Main features:
• Track changes across multiple files
• Compare versions of a project
• “Time travel” back to old versions
• Revert to a previous version
• Collaborate and share changes
• Combine changes
LOCAL VERSION CONTROL SYSTEM
A centralized version control system has a single server that contains all
the file versions. This enables multiple clients to simultaneously access
files on the server, pull them to their local computer or push them onto
the server from their local computer. This way, everyone usually knows
what everyone else on the project is doing. Administrators have control
over who can do what.
Examples of CVCS are TFS (Microsoft Team Foundation) and
SVN.
Disadvantages:
• If the main server goes down, developers can’t save
versioned changes
• If the central database is corrupted, the entire history
could be lost (security issues)
• Slow speed delays development
INITIAL GIT SETUP: INSTALL GIT
You should have a basic understanding of what Git is and how it’s different from
any centralized version control systems you may have been using previously.
You should also now have a working version of Git on your system that’s set up
with your personal identity. It’s now time to learn some Git basics.