SlideShare a Scribd company logo
1 of 14
VERSION
CONTROL
Aria University
Software Engineering
/ghufranataie
SOFTWARE ENGINEERING
• Version Control
• Git
• GitHub
• Git vs GitHub
• GitHub Options
• GitHub on difference IDE s
• Git Commands
• Summary
Key Study
2
Version Control
• Version control is the ability to manage the change and configuration of
an application.
• Versioning is a priceless process, especially when you have multiple
developers working on a single application
• In software engineering also known as Source Control, Revision Control
and Source Code Management.
• Each revision is associated with a timestamp and the person making
the change.
3
Version Control
• Version control systems allow you to compare files.
• identify differences, and merge the changes if needed prior to
committing any code.
• Versioning is also a great way to keep track of application builds by
being able to identify which version is currently in development
• when new developers join the team, they can easily download the
current version
4
Git
• Version control system (VCS) for tracking changes in computer files.
• Initially created in 2005 by Linus who was the creator of Linux
• Free open source distributed version control
• Coordinates work between multiple developers.
• Who made what changes and when.
• Revert back anytime.
• Local and remote repository.
• To download and install visit https://git-scm.com/
5
GitHub
• Founded on 2008 by Microsoft corporation.
• GitHub provides hosting for software development and version control
using Git
• It offers the distributed version control and source code management
SCM
• It provides access control and several collaboration features such
as bug tracking, feature requests, task management, and wikis for every
project.
• GitHub is a cloud-based hosting service that lets you
manage Git repositories. If you have open-source projects that use Git,6
Git vs GitHub
Git is a high quality version control system
It is installed and maintenance on the local machine
(rather than in cloud)
Git
GitHub is cloud-base hosting services
Its designed as a Git repository hosting services
You can share codes with others given them the poser to make
revision or edits
GitHub
7
GitHub Options and
Keywords
• Repository - it’s the directory or URL of the initiated git folder
• Remote Repository - in Git, a remote is the server where your code is
stored
• Branch - essentially is a unique set of code changes with a unique
name
• Commit - records changes to one or more files in the branch
• Push - commits made on your local branch to a remote repository
• Pull - git pull updates your current local working branch
8
GitHub Dreamweaver
Configuration
Create new site on Dreamweaver
1. Open Dreamweaver.
2. In the Site menu, choose New Site.
3. Enter a Site Name. For example, enter <optional>.
4. Create a new local site folder
• For local site folder, select an empty folder. If you type the name of a folder
that doesn't exist, it will be created. When the site is created, the remote
Git repository will be cloned to this directory.
Configuring Git credentials in Dreamweaver
5. Select Associate a Git repository with this site.
6. Select Clone existing Git repository using URL.
7. Enter the https:// URL of your repository.
8. For Git Username, enter your GitHub username.
9. For Password, if you are using 2FA (two-factor authentication),
enter your access token If you are not using 2FA, enter your normal
Git password.
10. Click Test to verify that the authentication is working.
11. Check the box labeled Save Credentials.
• Note: If you don't save your credentials now, you might not be able to do it
later.
12. Click Save.9
GitHub Android Studio
Configuration
Open the project in android studio
1. Go to File -> Settings -> Version Control -> Git.
2. Click on test button to test "path to Git executables".
• If successful message is shown everything is ok, else navigate to
git.exe from where you installed git and test again.
3. Go to File -> Settings -> Version Control -> GitHub. Enter your
email and password used to create GitHub account and click
on OK button.
4. Then go to VCS -> Import into Version Control -> Share Project
on GitHub. Enter Repository name, Description and
click Share button.
5. In the next window check all files in order to add files for initial
commit and click OK.
6. Now the project will be uploaded to the GitHub repository and when
uploading is finished we will get a message in android studio
showing "Successfully shared project on GitHub". Click on the link
provided in that message to go to GitHub repository.
7. Go to VCS -> Git -> Commit file . Then type a commit message and
click on commit button.
10
GitHub Visual Studio
Configuration
Open Visual Studio 2019
1. On Start Window Click  Continue without Code
2. Click File –> New –> Repository
3. The Team Explorer opens on the right
4. Pick the folder that you want to create the repository in
Create new project in the created repository
5. File  New  Project
6. Select project type then next
7. Enter project name and select created repository in location.
Now Commit new project to GitHub
5. Click on Team Explorer  Dropdown Arrow  Changes
6. Enter a message  click plus sign Stage All  Commit All
Note: Every changes user made on project files will appear in changes section
11
- $git clone
- $git config
- $git init
- $git clone <path>
- $git add <file_name>
- $git commit
- $git status
- $git remote
- $git checkout < branch_name>
- $git branch
- $git push
- $git pull
- $git merge < branch_name>
- $git diff
- $git reset
- $git revert
- $git t ag
- $git log
Summary
13
• Version Control is a source code
management system allow many
developers to work on same project
• Git is a version control management
system which works locally
• GitHub is a cloud base code management
system using Git
• Differences between Git and GitHub
• Some GitHub options and keywords
• Configuration of GitHub with difference
IDE’s on your computer
Thank You
14

More Related Content

What's hot

What's hot (20)

Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucket
 
How we use Bitbucket to build Bitbucket
How we use Bitbucket to build BitbucketHow we use Bitbucket to build Bitbucket
How we use Bitbucket to build Bitbucket
 
Getting Started with GitHub
Getting Started with GitHubGetting Started with GitHub
Getting Started with GitHub
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
 
git-and-bitbucket
git-and-bitbucketgit-and-bitbucket
git-and-bitbucket
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
 
GitHub
GitHubGitHub
GitHub
 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
 
Git hub visualstudiocode
Git hub visualstudiocodeGit hub visualstudiocode
Git hub visualstudiocode
 
Git
GitGit
Git
 
Using git in visual studio 2015
Using git in visual studio 2015Using git in visual studio 2015
Using git in visual studio 2015
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
 
Version control git day02
Version control   git day02Version control   git day02
Version control git day02
 
Difference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucketDifference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucket
 
Git, GitHub and Open Source
Git, GitHub and Open SourceGit, GitHub and Open Source
Git, GitHub and Open Source
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Github PowerPoint Final
Github PowerPoint FinalGithub PowerPoint Final
Github PowerPoint Final
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 

Similar to Version control

Version control git day01
Version control   git day01Version control   git day01
Version control git day01Gourav Varma
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hubNaveen Pandey
 
Git and GitHub (1).pptx
Git and GitHub (1).pptxGit and GitHub (1).pptx
Git and GitHub (1).pptxBetelAddisu
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfGDSCKNUST
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configurationKishor Kumar
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptxEshaan35
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Omar Fathy
 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHubVikram SV
 
Setting up Git.pptx
Setting up Git.pptxSetting up Git.pptx
Setting up Git.pptxtapanvyas11
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptxtnscharishma
 

Similar to Version control (20)

Git and git hub basics
Git and git hub basicsGit and git hub basics
Git and git hub basics
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
 
Version control git day01
Version control   git day01Version control   git day01
Version control git day01
 
Git
GitGit
Git
 
Introduction to git hub
Introduction to git hubIntroduction to git hub
Introduction to git hub
 
Git & GitLab
Git & GitLabGit & GitLab
Git & GitLab
 
Git and GitHub (1).pptx
Git and GitHub (1).pptxGit and GitHub (1).pptx
Git and GitHub (1).pptx
 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
 
Beginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdfBeginner Workshop for Student Developers - Tratech-presentation.pdf
Beginner Workshop for Student Developers - Tratech-presentation.pdf
 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 
Introduction to Git and GitHub
Introduction to Git and GitHubIntroduction to Git and GitHub
Introduction to Git and GitHub
 
Setting up Git.pptx
Setting up Git.pptxSetting up Git.pptx
Setting up Git.pptx
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
git and github-1.pptx
git and github-1.pptxgit and github-1.pptx
git and github-1.pptx
 
GitHub Basics - Derek Bable
GitHub Basics - Derek BableGitHub Basics - Derek Bable
GitHub Basics - Derek Bable
 
Version Control System
Version Control SystemVersion Control System
Version Control System
 

More from Ghufran Ataie

Global Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptxGlobal Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptxGhufran Ataie
 
Decision Making Process
Decision Making ProcessDecision Making Process
Decision Making ProcessGhufran Ataie
 
Fsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryptionFsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryptionGhufran Ataie
 
Optical Character Recognition
Optical Character RecognitionOptical Character Recognition
Optical Character RecognitionGhufran Ataie
 

More from Ghufran Ataie (8)

Global Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptxGlobal Warming and Climate Change - 2023.pptx
Global Warming and Climate Change - 2023.pptx
 
Sha algorithms
Sha algorithmsSha algorithms
Sha algorithms
 
ATS circuit
ATS circuitATS circuit
ATS circuit
 
Decision Making Process
Decision Making ProcessDecision Making Process
Decision Making Process
 
Fsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryptionFsrm disk quota management system and file encryption
Fsrm disk quota management system and file encryption
 
Transistor
TransistorTransistor
Transistor
 
Optical Character Recognition
Optical Character RecognitionOptical Character Recognition
Optical Character Recognition
 
Global warming
Global warmingGlobal warming
Global warming
 

Recently uploaded

Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 

Recently uploaded (20)

Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Naraina Delhi 💯Call Us 🔝8264348440🔝
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 

Version control

  • 2. SOFTWARE ENGINEERING • Version Control • Git • GitHub • Git vs GitHub • GitHub Options • GitHub on difference IDE s • Git Commands • Summary Key Study 2
  • 3. Version Control • Version control is the ability to manage the change and configuration of an application. • Versioning is a priceless process, especially when you have multiple developers working on a single application • In software engineering also known as Source Control, Revision Control and Source Code Management. • Each revision is associated with a timestamp and the person making the change. 3
  • 4. Version Control • Version control systems allow you to compare files. • identify differences, and merge the changes if needed prior to committing any code. • Versioning is also a great way to keep track of application builds by being able to identify which version is currently in development • when new developers join the team, they can easily download the current version 4
  • 5. Git • Version control system (VCS) for tracking changes in computer files. • Initially created in 2005 by Linus who was the creator of Linux • Free open source distributed version control • Coordinates work between multiple developers. • Who made what changes and when. • Revert back anytime. • Local and remote repository. • To download and install visit https://git-scm.com/ 5
  • 6. GitHub • Founded on 2008 by Microsoft corporation. • GitHub provides hosting for software development and version control using Git • It offers the distributed version control and source code management SCM • It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project. • GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-source projects that use Git,6
  • 7. Git vs GitHub Git is a high quality version control system It is installed and maintenance on the local machine (rather than in cloud) Git GitHub is cloud-base hosting services Its designed as a Git repository hosting services You can share codes with others given them the poser to make revision or edits GitHub 7
  • 8. GitHub Options and Keywords • Repository - it’s the directory or URL of the initiated git folder • Remote Repository - in Git, a remote is the server where your code is stored • Branch - essentially is a unique set of code changes with a unique name • Commit - records changes to one or more files in the branch • Push - commits made on your local branch to a remote repository • Pull - git pull updates your current local working branch 8
  • 9. GitHub Dreamweaver Configuration Create new site on Dreamweaver 1. Open Dreamweaver. 2. In the Site menu, choose New Site. 3. Enter a Site Name. For example, enter <optional>. 4. Create a new local site folder • For local site folder, select an empty folder. If you type the name of a folder that doesn't exist, it will be created. When the site is created, the remote Git repository will be cloned to this directory. Configuring Git credentials in Dreamweaver 5. Select Associate a Git repository with this site. 6. Select Clone existing Git repository using URL. 7. Enter the https:// URL of your repository. 8. For Git Username, enter your GitHub username. 9. For Password, if you are using 2FA (two-factor authentication), enter your access token If you are not using 2FA, enter your normal Git password. 10. Click Test to verify that the authentication is working. 11. Check the box labeled Save Credentials. • Note: If you don't save your credentials now, you might not be able to do it later. 12. Click Save.9
  • 10. GitHub Android Studio Configuration Open the project in android studio 1. Go to File -> Settings -> Version Control -> Git. 2. Click on test button to test "path to Git executables". • If successful message is shown everything is ok, else navigate to git.exe from where you installed git and test again. 3. Go to File -> Settings -> Version Control -> GitHub. Enter your email and password used to create GitHub account and click on OK button. 4. Then go to VCS -> Import into Version Control -> Share Project on GitHub. Enter Repository name, Description and click Share button. 5. In the next window check all files in order to add files for initial commit and click OK. 6. Now the project will be uploaded to the GitHub repository and when uploading is finished we will get a message in android studio showing "Successfully shared project on GitHub". Click on the link provided in that message to go to GitHub repository. 7. Go to VCS -> Git -> Commit file . Then type a commit message and click on commit button. 10
  • 11. GitHub Visual Studio Configuration Open Visual Studio 2019 1. On Start Window Click  Continue without Code 2. Click File –> New –> Repository 3. The Team Explorer opens on the right 4. Pick the folder that you want to create the repository in Create new project in the created repository 5. File  New  Project 6. Select project type then next 7. Enter project name and select created repository in location. Now Commit new project to GitHub 5. Click on Team Explorer  Dropdown Arrow  Changes 6. Enter a message  click plus sign Stage All  Commit All Note: Every changes user made on project files will appear in changes section 11
  • 12. - $git clone - $git config - $git init - $git clone <path> - $git add <file_name> - $git commit - $git status - $git remote - $git checkout < branch_name> - $git branch - $git push - $git pull - $git merge < branch_name> - $git diff - $git reset - $git revert - $git t ag - $git log
  • 13. Summary 13 • Version Control is a source code management system allow many developers to work on same project • Git is a version control management system which works locally • GitHub is a cloud base code management system using Git • Differences between Git and GitHub • Some GitHub options and keywords • Configuration of GitHub with difference IDE’s on your computer