GIT AND GITHUB
GIT ● Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. ● Git is used to track changes in the source code, enabling multiple developers to work together on non-linear development. ● Linus Torvalds created Git in 2005 for the development of the Linux kernel.
GIT • Git is a tool that helps you manage changes to your code over time. • It keeps track of every little change or update you make, you can always look back at previous versions or undo mistakes if needed. • GIT is a CLI (Command Line Interface) based tool which is used for taking snapshots of each and every version of your code.
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.
WHAT DOES GIT DO • Manage projects with Repositories • Clone a project to work on a local copy • Control and track changes with Staging and Committing • Branch and Merge to allow for work on different parts and versions of a project • Pull the latest version of the project to a local copy • Push local updates to the main project
Features of Git Version Control System: •Git keeps track of every change you make to your project files. •You can go back to previous versions is any requirement arises. •Repositories: •A Git repository (or repo) is like a project’s central hub where everything related to your work is stored and managed. There are two main types: •Local Repository: •This is a copy of the repository which is stored in your computer. •You can work on your project and make changes here. •Remote Repository: •This is stored on a server, like GitHub, where you and others can share and work on a project.
Features of Git Commits: Every time you make changes and save them in Git, these are called commits. The repository keeps track of all the commits you have made. Branches: A repository allows you to create Branches and work on new features and fixes. For example, you can have a “main” branch for stable code and a “feature” branch for new features you’re developing.
Features of Git Merging: Once you are done with the branches you have made, you can merge those branches into main branch. This adds the changes you have made in the rest of the project. Cloning: Cloning is a process of making a complete copy of Git repository. • It’s like copying the entire project from central location ( like website) to your own computer.
GitHub is a developer platform that allows developers to create, store, manage and share their code. It uses Git software, providing the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continuous integration GITHUB
Git working directory is the directory on your local filesystem where your project files are located. It contains all the files and folders in your project, including those that are tracked by Git and those that are not.
Git’s staging area, also known as the index or cache, is an intermediate area that stores changes to tracked files before they are committed to the repository. It serves as a way to organize and review the changes you have made to your project before creating a new commit
Downloading and Installing Git For windows version https://git-scm.com/download/win

GithubNotes.pptx Notes in git hub basics

  • 1.
  • 2.
    GIT ● Git isa free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. ● Git is used to track changes in the source code, enabling multiple developers to work together on non-linear development. ● Linus Torvalds created Git in 2005 for the development of the Linux kernel.
  • 3.
    GIT • Git isa tool that helps you manage changes to your code over time. • It keeps track of every little change or update you make, you can always look back at previous versions or undo mistakes if needed. • GIT is a CLI (Command Line Interface) based tool which is used for taking snapshots of each and every version of your code.
  • 4.
    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.
  • 5.
    WHAT DOES GITDO • Manage projects with Repositories • Clone a project to work on a local copy • Control and track changes with Staging and Committing • Branch and Merge to allow for work on different parts and versions of a project • Pull the latest version of the project to a local copy • Push local updates to the main project
  • 6.
    Features of Git VersionControl System: •Git keeps track of every change you make to your project files. •You can go back to previous versions is any requirement arises. •Repositories: •A Git repository (or repo) is like a project’s central hub where everything related to your work is stored and managed. There are two main types: •Local Repository: •This is a copy of the repository which is stored in your computer. •You can work on your project and make changes here. •Remote Repository: •This is stored on a server, like GitHub, where you and others can share and work on a project.
  • 7.
    Features of Git Commits:Every time you make changes and save them in Git, these are called commits. The repository keeps track of all the commits you have made. Branches: A repository allows you to create Branches and work on new features and fixes. For example, you can have a “main” branch for stable code and a “feature” branch for new features you’re developing.
  • 8.
    Features of Git Merging:Once you are done with the branches you have made, you can merge those branches into main branch. This adds the changes you have made in the rest of the project. Cloning: Cloning is a process of making a complete copy of Git repository. • It’s like copying the entire project from central location ( like website) to your own computer.
  • 9.
    GitHub is adeveloper platform that allows developers to create, store, manage and share their code. It uses Git software, providing the distributed version control of Git plus access control, bug tracking, software feature requests, task management, continuous integration GITHUB
  • 11.
    Git working directoryis the directory on your local filesystem where your project files are located. It contains all the files and folders in your project, including those that are tracked by Git and those that are not.
  • 12.
    Git’s staging area,also known as the index or cache, is an intermediate area that stores changes to tracked files before they are committed to the repository. It serves as a way to organize and review the changes you have made to your project before creating a new commit
  • 13.
    Downloading and InstallingGit For windows version https://git-scm.com/download/win