351 likes | 540 Views
This presentation on Git vs. GitHub will help you understand the differences between Git and GitHub. First, we will have a look at the basics of Git and GitHub. Then we will see some accessible commands used in Git, followed by a hands-on demo that shows the implementation of those commands. Towards the end, we shall see the comparison between the two, Git and GitHub.<br>The below topics will be explained in this video: <br>What is Git?<br>What is GitHub?<br>Commands in Git<br>Git Demo<br>Git vs. GitHub<br><br><br>Learn the basics of Gitu2014a version control system (VCS), and understand how to set up Git in your system, list the three-stage workflow in Git, create branches and track files, create repository in Git, GitHub and more.<br><br>Whatu2019s the focus of this course?<br>Git is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for software development, but it can be used to keep track of changes in any files.This course enables you to learn and solve versioning problems with your files and codes. All these concepts are presented in an easy to understand manner, using demos and assignments to clarify the concepts and present the actual method of implementation.<br><br>What are the course objectives?<br>- Git course offered by Simplilearn will enable you to:<br>- Understand distributed version control system and its features<br>- Set-up Git in your system<br>- List the three-stage workflow in Git<br>- Create branches and track files<br>- Create a repository in Git and GitHub<br>- Describe merging, cloning, rebasing, among others<br><br>Who should take this course?<br>- The following professionals can go for this course:<br>- Software Professionals<br>- Testing Professionals<br>- Software Architects and Designers<br>- Open source contributors and enthusiasts<br>- Developers who want to gain acceleration in their careers as professionals using Git and GitHub<br>- Managers who are technical subject matter experts, leading software development projects<br><br>Learn more at https://www.simplilearn.com/cloud-computing/git-training-course
E N D
What’s in it for you? What is Git? What is GitHub? Git commands Git demo Git vs GitHub
What is Git? • Git is a version control system for tracking changes in computer files. It is used for coordinating work among several people on a project and tracking progress over time • It is used for Source Code Management in software development
What is Git? A version control system is a system that records all the changes made to a file or set of files, so a specific version may be called later if needed. This helps in collaboration with all team members • Git is a version control system for tracking changes in computer files. It is used for coordinating work among several people on a project and tracking progress over time • It is used for Source Code Management in software development
What is Git? • Git favors both programmers and non-technical users by keeping track of their project files
What is Git? • Git favors both programmers and non-technical users by keeping track of their project files • It allows multiple users to work together
What is Git? • Git favors both programmers and non-technical users by keeping track of their project files • It allows multiple users to work together • Large projects can be handled efficiently
What is GitHub? • GitHub is a Git repository hosting service, which provides a web-based graphical interface • GitHub helps every team member to work together on the project from anywhere and makes it easy for them to collaborate
Git commands Git config Configure the username and email address
Git commands Git config Configure the username and email address Git add Add one or more files to staging area
Git commands Git config Configure the username and email address Git add Add one or more files to staging area Git diff View the changes made to the file
Git commands Git config Configure the username and email address Git add Add one or more files to staging area Git diff View the changes made to the file Initialize a local Git repository Git init
Git commands Git config Configure the username and email address Git add Add one or more files to staging area Git diff View the changes made to the file Initialize a local Git repository Git init Git commit Commit changes to head but not to the remote repository
Git commands Git reset Undo local changes to the state of a Git repo
Git commands Git reset Undo local changes to the state of a Git repo Git merge Merge a branch into an active branch
Git commands Git reset Undo local changes to the state of a Git repo Git merge Merge a branch into an active branch Git status Displays the state of the working directory and staging area
Git commands Git reset Undo local changes to the state of a Git repo Git merge Merge a branch into an active branch Git status Displays the state of the working directory and staging area Git push Upload content from local repository to a remote repository
Git commands Git reset Undo local changes to the state of a Git repo Git merge Merge a branch into an active branch Git status Displays the state of the working directory and staging area Git push Upload content from local repository to a remote repository Git pull Fetch and download content from a remote repository
Git vs GitHub Installed locally on the system Hosted on the cloud Git can be used offline and does not need an internet connection for use. GitHub cannot be used offline and needs an internet connection.
Git vs GitHub Git can be used without GitHub GitHub cannot be used without Git Used for version control and code sharing Used for centralised source code hosting
Git vs GitHub It provides an easy to use GUI There is no GUI Code changes like commit, merge, etc. are done using commands from the command line. Everything is done through a web-based interface.
Git vs GitHub Includes a free and pay for use tiers Open source licensed Competitors – Mercurial, Supervision, IBM, Rational Team Concert and ClearCase Competitors – Atlassian Bitbucket and GitLab