𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

DevOps Unleashed with
Git and GitHub

✍ Scribed by Yuki Hattori


Publisher
Packt Publishing Pvt Ltd
Year
2024
Tongue
English
Leaves
379
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


DevOps Unleashed with Git and GitHub: Automate, collaborate, and innovate to enhance your DevOps workflow and development experience

Unlock the full potential of your team with Git mastery, seamless DevOps workflows, and the power of AI integration

Key Features
Gain a comprehensive understanding of Git, GitHub, and DevOps with practical implementation tips
Embark on a holistic exploration of DevOps workflows, scaling, DevSecOps, and GitHub Copilot
Discover the best practices for optimizing processes and team productivity

Book Description
Git and GitHub are absolutely crucial for DevOps, playing a multifaceted role in streamlining the software development lifecycle and enabling smoother collaboration between development and operations teams.

DevOps Unleashed with Git and GitHub enables you to harness the power of Git and GitHub to streamline workflows, drive collaboration, and fuel innovation. Authored by an expert from GitHub, the book starts by guiding you through Git fundamentals and delving into DevOps and the developer experience. As you progress, you’ll understand how to leverage GitHub's collaboration and automation features, and even use GitHub Copilot for enhanced productivity. You'll also learn how to bridge the DevOps gap, maintain code quality, and implement robust security measures. Additionally, hands-on exercises will equip you to elevate your developer experience, foster teamwork, and drive innovation at the speed of DevOps.

By the end of this DevOps book, you’ll have mastered the Git fundamentals, conquered collaboration challenges, and unleashed the power of GitHub as you transform your DevOps workflows.

What you will learn
Master the fundamentals of Git and GitHub
Unlock DevOps principles that drive automation, continuous integration and continuous deployment (CI/ CD), and monitoring
Facilitate seamless cross-team collaboration
Boost productivity using GitHub Actions
Measure and improve development velocity
Leverage the GitHub Copilot AI tool to elevate your developer experience

Who this book is for
If you’re aiming to enhance collaboration, productivity, and DevOps practices to enrich your development experience, this book is for you. Novice DevOps engineers will be able resolve their doubts surrounding Git and GitHub errors, while IT admins and system engineers will be able to effortlessly embrace DevOps principles with pragmatic insights. For infrastructure engineers looking to delve into cloud-based collaboration and optimal management practices, this book provides valuable knowledge to facilitate a seamless transition into the DevOps landscape.

✦ Table of Contents


DevOps Unleashed with Git and GitHub
Foreword
Contributors
About the author
About the reviewers
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Get in touch
Share your thoughts
Download a free PDF copy of this book
Part 1: Foundations of Git, GitHub, and DevOps
1
DevOps and Developer Experience – Entering the World of Modern Development
DevOps – Accelerating the development cycle by reducing friction
Background on DevOps
What is NOT DevOps?
DevOps is culture
Soaring to excellence in DevOps practices
The next challenge
Developer experience – A strategy for developer excellence
Developer experience is a strategy
Elements that amplify DevOps and developer experience
Git – Where code collaborations begin
Imagining the world without version control
The history of Git
What is a VCS?
GitHub – The AI-powered developer platform
Powered by AI
Collaboration
Productivity
Security
Scale
Summary
Further reading
2
Getting Started with Git
Technical requirements
Getting started with Git
Git basics – Begin with a hands-on experience
Working with branches – The cornerstone of collaboration
The anatomy of Git – A beginner-friendly explanation of how Git works
The file lifecycle in Git
Behind the scenes – Git’s architecture
Git tree structure
Becoming a guru of Git communication
git commit – Revisiting the most important command
Control quality and quantity to be a good communicator
Summary
3
Advanced Git Usage for Team Collaboration
Technical requirements
Branching strategies for team collaboration
Why a branching strategy is important
Branch strategy and branch policy
Smaller and frequent versus larger and less frequent
Types of branch policies branch policies
Branch naming conventions – Discover the best practices for naming branches in Git
Ways to apply your changes on a branch
Merging vs rebasing
Exploring different ways to merge in Git
Navigating conflicts
Why conflict happens
How to merge conflicts in Git
How to resolve merge conflicts
Useful commands for supporting merge activities
Mastering better collaboration
Rolling back time
Organizing your working environment
Who did what? Great ways to help you debug
Versioning excellence
Summary
Part 2: GitHub Excellence and CI/CD Fundamentals
4
Elevating Team Collaboration with GitHub
Technical requirements
Getting started with GitHub
Setting up your GitHub account
Creating your first GitHub repository
Registering your SSH key
git remote – Connecting local and remote repositories
git push – Making your code count
Examining code on GitHub
git pull – Bridging local and remote work
git fetch – Syncing without disruption
Fetch versus pull
git clone – Bringing GitHub repos to your workspace
Forking – More than just copying code
Issues – Collaboration excellence at GitHub
What makes GitHub Issues unique
Crafting an issue – Essentials for a well-structured issue
Effective communication
Pull request excellence
What makes pull requests unique?
Crafting a pull request
Pull request review 101
Getting the best out of GitHub
GitHub Projects – Managing your issues and pull requests in one place
GitHub Codespaces – Transforming development workflows with cloud-based environments
GitHub Discussions – Fostering community and collaboration
GitHub repository excellence
Repository rules – Streamlining workflow and ensuring code quality
CODEOWNERS – Streamlined review and ownership
Issue and pull request templates
Summary
5
Driving CI/CD with GitHub
GitHub Actions – Mastering workflow automation
Comprehensive overview of GitHub Actions
Deep diving into GitHub workflow structure
GitHub Actions best practices
Deployment strategies
Blue-green deployment
Rolling deployment
Canary deployment
Feature release strategies
Feature flag
Release train
Summary
Further reading
Part 3: Beyond DevOps
6
Enriching DevOps Implementation
Leveraging metrics in DevOps
Four keys – DORA metrics
SPACE framework
Metrics at GitHub
DevSecOps – Security as a continuous matter
Security shift-left
Security features in GitHub
Scaling the collaboration
Why scaling collaboration is imperative
InnerSource – Distributed collaboration model
Setting up GitHub for scalable collaboration
Summary
Further reading
7
Accelerate Productivity with AI
AI innovation in coding
The impact of LLMs on coding
Understanding LLMs – A basic introduction
Application of LLMs in coding
Prompt and context
Exploring the capabilities and interaction with AI in coding
Code completion – The foundation of AI-powered coding
Code explanation
Strategies for maximizing AI efficiency
Be specific
Be context-aware
Be consistent
Summary
Further reading
8
Reflection and Conclusion
Reflecting on the journey through Git, GitHub, and DevOps – Enhancing the developer experience
Embracing AI in development β€” The next evolutionary step in software engineering
Concluding remarks
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share Your Thoughts
Download a free PDF copy of this book


πŸ“œ SIMILAR VOLUMES


Version Control with Git and GitHub
✍ Alex Magana, Joseph Muli πŸ“‚ Library πŸ“… 2018 πŸ› Packt Publishing 🌐 English

Introduction to Git and GitHub begins with setting up and configuring Git on your computer along with creating a repository and using it for exercises throughout the book. With the help of multiple activities, you’ll learn concepts that show various stages of a fileβ€”from when it is untracked to when

Git Prodigy : Mastering Version Control
✍ Ebenezer Don πŸ“‚ Library πŸ“… 2023 🌐 English

If you want to master Git, GitHub, and the enriching world of open-source contributions, even without any prior knowledge, this guide is your best bet. Git Prodigy is your clear, concise guide to mastering Git and GitHub. This book focuses on practical insights, avoiding unnecessary technical jar

Accelerate DevOps with GitHub: Enhance s
✍ Michael Kaufmann Michael πŸ“‚ Library πŸ“… 2022 πŸ› Packt Publishing 🌐 English

<p><span>Take your DevOps and DevSecOps game to the next level by leveraging the power of the GitHub toolset in practice</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Release software faster and with confidence</span></span></li><li><span><span>Increase your productivity by spendin

Accelerate DevOps with GitHub: Enhance s
✍ Michael Kaufmann Michael πŸ“‚ Library πŸ“… 2022 πŸ› Packt Publishing 🌐 English

<p><span>Take your DevOps and DevSecOps game to the next level by leveraging the power of the GitHub toolset in practice</span></p><h4><span>Key Features</span></h4><ul><li><span><span>Release software faster and with confidence</span></span></li><li><span><span>Increase your productivity by spendin

Accelerate DevOps with GitHub: Enhance s
✍ Michael Kaufmann πŸ“‚ Library πŸ“… 2022 πŸ› Packt Publishing 🌐 English

Take your DevOps and DevSecOps game to the next level by leveraging the power of the GitHub toolset in practice Key Features β€’ Release software faster and with confidence β€’ Increase your productivity by spending more time on software delivery and less on fixing bugs and administrative tasks β€’

Azure DevOps Explained: Get started with
✍ Sjoukje Zaal; Stefano Demiliani; Amit Malik πŸ“‚ Library πŸ“… 2020 πŸ› Packt Publishing 🌐 English

Developing applications for the cloud involves changing development methodologies and procedures. Continuous integration and continuous deployment (CI/CD) processes are a must today, but are often difficult to implement and adopt. Azure DevOps is a Microsoft Azure cloud service that enhances your ap