SlideShare a Scribd company logo
1 of 39
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
AZ-400: Manage source
control
1
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
AzureTalk Core Team
3
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Todayā€™s Session Speaker
Ashish Raj
AzureDevOpsPro Founder
MCT, DevOps Architect
Nitanshu Sharma
AzureTalk Core Team
MCP, Cloud Consultant
4
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Win Azure Exam Vouchers
ā€¢ Participate in quiz during session
ā€¢ 6 Selected participants will get
free Azure Exam Vouchers
ā€¢ Must be registered on Eventbrite
ā€¢ Winner will be announced in next
session on 15th Nov 2020 Free Azure Exam
Vouchers
5
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
DevOps Expert - Cert Path
6
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
AZ-400: Skills Measured
ā€¢ Facilitate communication and collaboration (10-15%)
ā€¢ Manage source control (10-15%)
ā€¢ Define and implement continuous integration (20-25%)
ā€¢ Define and implement a continuous delivery and release
management strategy (10-15%)
ā€¢ Develop an instrumentation strategy (5-10%)
ā€¢ Develop a Site Reliability Engineering (SRE) strategy (5-
10%)
ā€¢ Develop a security and compliance plan (10-15%)
7
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Agenda
ā€¢ Develop a modern source control strategy
ā€¢ Implement workflow hooks Plan and implement branching
strategies for the source code
ā€¢ Configure repositories
ā€¢ Integrate source control with tools
8
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Develop a modern source
control strategy
9
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Git
ā€¢ Distributed Version Control System
ā€¢ Supports branching
ā€¢ Code history & collaboration
ā€¢ Code review
10
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
GitHub
ā€¢ A SAAS platform with using Git
ā€¢ Provides overall flow for
collaboration
ā€¢ Can be accessed using web,
command line tools or IDE
11
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure Repos
ā€¢ Part of Azure DevOps services
ā€¢ Provides Git as well as TFVC as
version control system
ā€¢ Accessed using website, command
line or other IDE
12
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Cloning and Forking
ā€¢ Clone ā€“ Copy on the local
machine
ā€¢ Forking ā€“ Copy the repository
your GitHub account
13
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
GitHub Clone
14
git clone <url>
Github.com/ashishrajsrivastava/az-400-shared/ az-400-shared
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
GitHub Fork
15
git clone
Github/example ashishrajsrivastava/example example
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Pull Request
16
git push
github/example ashishrajsrivastava/example
example
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Git LFS
ā€¢ Manage large binary
files
ā€¢ Must be installed on
each client
ā€¢ GitHub Desktop can
be configured with git
LFS
17
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Git Submodules
ā€¢ Share code in different
repository
ā€¢ Enhances
collaboration on
common code
ā€¢ Reduce copy paste of
code
18
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Plan & implement branching
strategies for source code
19
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Branching strategies
ā€¢ Use feature branch
ā€¢ Merge changes using pull request
ā€¢ Maintain up to date branches
20
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Gitflow
Master
develop
Feature 1
Feature 2
Releases/releaseversion
1.0
Feature 3
Feature 4
21
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Pull request
Master
develop
Feature 1
Code Review
CI Checks
Merge conditions
Static code analysis
22
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Protect code
ā€¢ Branch policy
ā€¢ Dependency graph
ā€¢ Dependency alerts
ā€¢ Use gitignore files
23
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Configure repositories
24
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Repository Permissions
25
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Git tag
26
ā€¢ Helps you capture a
specific point in code
history
ā€¢ No further commit
ā€¢ Usually used with
version number
Master
develop
Feature 1
1.0
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Merge restrictions
ā€¢ Define branch policies
ā€¢ Define Pull request guidelines
ā€¢ Configure Approvals
27
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Integrate source control with
tools
28
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Continuous Integration
29
Code Changes Build Artifacts
GitHub Actions Azure Pipelines
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
GitHub Actions workflow
ā€¢ Can automate build,
test and deployment
ā€¢ Pipeline as Code using
YAML
ā€¢ Automate Reviews
30
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Azure Pipelines
ā€¢ Supports both GUI and
YAML for Pipelines
ā€¢ Supports end to end
build, test and deploy
ā€¢ Marketplace for third
party integration
31
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Configure Single Sign On
ā€¢ Azure Active Directory
(AAD)
ā€¢ Integrate with AAD for
Single Sign on
ā€¢ GitHub and Azure
DevOps supports
integration with AAD
32
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
GitOps (Infrastructure as Code)
33
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Continuous Deployment
ā€¢ GitHub Actions
ā€¢ Azure Pipelines
ā€¢ Azure Key Vaults for Secrets
ā€¢ GitHub Secrets
34
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
ChatOps
ā€¢ GitHub Apps
ā€¢ GitHub webhooks
ā€¢ Polling
ā€¢ Microsoft Teams
35
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Break
36
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Demo
Version Controlling with Git in Visual Studio Code and Azure DevOps
37
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Q & A
38
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
Quiz
39
q.azureezy.com/az400
Free Azure Exam Vouchers
Winners announcement in next session on 15th Nov 2020
Register for next session at azureezy.com/az-400
https://azureezy.com
Ā© 2020 AzureEzy and AzureTalk. All rights reserved!
40
https://azuredevopspro.com
Thanks!
https://azureezy.com/az-400
https://t.me/AzureTalk
https://youtube/AzureTalk
https://www.linkedin.com/in
/nitanshu-sharma/
https://www.linkedin.com/in
/ashishrajsrivastava/
https://t.me/AzureDevOpsPro

More Related Content

More from AzureEzy1

Az 104 session 8 azure monitoring
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoringAzureEzy1
Ā 
Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2AzureEzy1
Ā 
Az 104 session 5: Azure networking
Az 104 session 5: Azure networkingAz 104 session 5: Azure networking
Az 104 session 5: Azure networkingAzureEzy1
Ā 
Az 104 session 4: azure storage
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storageAzureEzy1
Ā 
Az 900 session 2-core azure services
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure servicesAzureEzy1
Ā 
Az 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and containerAz 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and containerAzureEzy1
Ā 
Az 104 session 3 azure compute
Az 104 session 3 azure compute Az 104 session 3 azure compute
Az 104 session 3 azure compute AzureEzy1
Ā 
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...AzureEzy1
Ā 

More from AzureEzy1 (8)

Az 104 session 8 azure monitoring
Az 104 session 8 azure monitoringAz 104 session 8 azure monitoring
Az 104 session 8 azure monitoring
Ā 
Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2Az 104 session 6 azure networking part2
Az 104 session 6 azure networking part2
Ā 
Az 104 session 5: Azure networking
Az 104 session 5: Azure networkingAz 104 session 5: Azure networking
Az 104 session 5: Azure networking
Ā 
Az 104 session 4: azure storage
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storage
Ā 
Az 900 session 2-core azure services
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure services
Ā 
Az 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and containerAz 104 session 2 implement and manage azure webapps and container
Az 104 session 2 implement and manage azure webapps and container
Ā 
Az 104 session 3 azure compute
Az 104 session 3 azure compute Az 104 session 3 azure compute
Az 104 session 3 azure compute
Ā 
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Az 900 Session 3 Security, privacy, compliance, trust, pricing, SLA and Lifec...
Ā 

Recently uploaded

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
Ā 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
Ā 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
Ā 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
Ā 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
Ā 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
Ā 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
Ā 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
Ā 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
Ā 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
Ā 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel AraĆŗjo
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜RTylerCroy
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
Ā 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
Ā 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
Ā 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
Ā 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Ā 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Ā 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Ā 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Ā 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
Ā 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Ā 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Ā 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Ā 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Ā 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
Ā 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
Ā 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜
Ā 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Ā 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
Ā 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
Ā 

AZ-400: Manage source control