Presentation slide for the Git workshop, Git: From Beginner to Boss in 2 Hours! (GitHub? GitLab? BitBucket? All COVERED), hosted by GDSC APU on 19th January 2024.
3. Version Control & Why It’s Important
A time-travel system. It saves your work
at different points, and if something goes
wrong, you can go back to a previous
version.
1. Backup
safe even if it went wrong
2. Collaboration
parallel-uninterrupted progress
3. History
track who the mf is
who and why a change is made
4. Git
A tool for version control. Manage your
project's history, collaborate with others,
and experiment with new ideas without
messing up your main project.
1. Repository
is your project folder.
2. Commit
is a snapshot of your project at a
specific moment.
3. Branch
is a separate path of development.
4. Merge
combines different paths back
together.
5.
6. “It's like having a
superpower for
tracking changes
and working on
projects with ease.”
Git Hosting Services
Backup: It acts as a backup for your project. If something goes wrong, you can always go back to a working version.
Collaboration: If you're working with others, version control lets everyone work on the project at the same time without stepping on each other's toes.
History: You can see a history of changes, who made them, and why. This is great for understanding how the project evolved.
Repository:
A repository is like a project folder. It's where Git stores all the files and the history of changes.
Commit:
A commit is like taking a snapshot of your project at a particular moment. It's a way of saying, "I'm happy with the changes I made; let's save this version."
Branch:
A branch is like a separate path of development. It's useful when you want to work on a new feature without affecting the main project. Imagine you're writing a book, and you create a branch to test a different ending – if it doesn't work out, you can go back to the main story.
Merge:
Merging is like combining different versions of your project. Let's say you worked on a new feature in a branch, and it's now ready to be part of the main project. Merging brings those changes back into the main branch.