GIT AND GITHUB Bringing the world together C.V. Raman Global University
Narula Institute of Technology SPEAKERS Tripti Singh 3rd Year AI & Machine Learning Cloud & DevOps Lead Arkanil Karchaudhuri Linktree (LinkedIn, GitHub, etc) Web Dev Lead Prince Raj Portfolio SPEAKERS Organizer Samrat Talukdar Portfolio
VERSION CONTROL SYSTEM ● A version control system (VCS) is like a smart tool that helps people work together on projects, especially computer programs. ● It keeps track of changes made to files, kind of like saving different versions of a document. ● It's like having a time machine for your work!
!= DID YOU KNOW? GIT GITHUB
WHAT IS GIT? ● GIT is a CLI (Command Line Interface) based tool which is used for taking snapshots of each and every version of your code. ● GIT is like an all rounder in a team , if you mess up GIT is there to cover up. ● GIT can go back in time , can save your work repeatedly and many more. It is by far most used tools by the developers.
REPOSITORIES ● Repo = Repository. ● A folder like Structure containing all your necessary files . ● Can contain folders,images,files, etc. , anything you want.
BRANCH ● The branch concept in GIT is like You can create a branch to work on new features or fix issues without disrupting the main code. ● If your changes in the branch are good, you can merge them into the main code. If not, you can make improvements without affecting the main codebase.
COMMIT ● A commit is a snapshot of the changes made to the files in the repository at a specific point in time. ● Commits store information about what was changed, who made the change, and when it was made.
PUSH ● This action is used in Git to upload your local commits and changes to a remote repository. ● It's like uploading your work to the cloud so that your teammates or collaborators can access it.
PULL ● The action is used in Git to synchronize the changes made by others in your code. ● It’s like merging two codespaces in one.
WORKFLOW OF GITHUB
WORKFLOW OF GITHUB
QUICK DEMO ● Setting up git. ● Configuring GIT. ● Creating a Github Account. ● Initializing a repo ● Pushing the code to a repo.
GITHUB ● Github is a web based platform that provides a space where we can collaborate on different projects. ● We can suggest changes to a repo and also we can take references for our own code.
FORK ● Fork is making a copy of a repository into your own GitHub account. ● You can then do any changes or experiments in that code , that won’t be reflected in the original code . ● If you think that your code is better than the original code you can create a PULL REQUEST (PR) to the original code.
PULL REQUESTS (PR) ● A pull request is like asking your team to look at the changes you've made in your separate version of the project and consider adding those changes to the main project if they're good and ready. ● If they feel good about your work they can merge your code with theirs. ● If they don’t like it they can discard and close the PULL REQUEST (PR)
THANK YOU Mark your attendance here : https://forms.gle/RVGfpQocnr4FV8URA

Git & GitHub 101: Mastering Version Control

  • 1.
    GIT AND GITHUB Bringingthe world together C.V. Raman Global University
  • 2.
    Narula Institute ofTechnology SPEAKERS Tripti Singh 3rd Year AI & Machine Learning Cloud & DevOps Lead Arkanil Karchaudhuri Linktree (LinkedIn, GitHub, etc) Web Dev Lead Prince Raj Portfolio SPEAKERS Organizer Samrat Talukdar Portfolio
  • 3.
    VERSION CONTROL SYSTEM ●A version control system (VCS) is like a smart tool that helps people work together on projects, especially computer programs. ● It keeps track of changes made to files, kind of like saving different versions of a document. ● It's like having a time machine for your work!
  • 4.
  • 5.
    WHAT IS GIT? ●GIT is a CLI (Command Line Interface) based tool which is used for taking snapshots of each and every version of your code. ● GIT is like an all rounder in a team , if you mess up GIT is there to cover up. ● GIT can go back in time , can save your work repeatedly and many more. It is by far most used tools by the developers.
  • 6.
    REPOSITORIES ● Repo =Repository. ● A folder like Structure containing all your necessary files . ● Can contain folders,images,files, etc. , anything you want.
  • 7.
    BRANCH ● The branchconcept in GIT is like You can create a branch to work on new features or fix issues without disrupting the main code. ● If your changes in the branch are good, you can merge them into the main code. If not, you can make improvements without affecting the main codebase.
  • 8.
    COMMIT ● A commitis a snapshot of the changes made to the files in the repository at a specific point in time. ● Commits store information about what was changed, who made the change, and when it was made.
  • 9.
    PUSH ● This actionis used in Git to upload your local commits and changes to a remote repository. ● It's like uploading your work to the cloud so that your teammates or collaborators can access it.
  • 10.
    PULL ● The actionis used in Git to synchronize the changes made by others in your code. ● It’s like merging two codespaces in one.
  • 11.
  • 12.
  • 13.
    QUICK DEMO ● Settingup git. ● Configuring GIT. ● Creating a Github Account. ● Initializing a repo ● Pushing the code to a repo.
  • 14.
    GITHUB ● Github isa web based platform that provides a space where we can collaborate on different projects. ● We can suggest changes to a repo and also we can take references for our own code.
  • 15.
    FORK ● Fork ismaking a copy of a repository into your own GitHub account. ● You can then do any changes or experiments in that code , that won’t be reflected in the original code . ● If you think that your code is better than the original code you can create a PULL REQUEST (PR) to the original code.
  • 16.
    PULL REQUESTS (PR) ●A pull request is like asking your team to look at the changes you've made in your separate version of the project and consider adding those changes to the main project if they're good and ready. ● If they feel good about your work they can merge your code with theirs. ● If they don’t like it they can discard and close the PULL REQUEST (PR)
  • 17.
    THANK YOU Mark yourattendance here : https://forms.gle/RVGfpQocnr4FV8URA