Course Outline

What is Git?

Comparison of Git to 1st and 2nd Generation Version Control Systems (e.g., SVN)

  • 1st generation version control systems
  • 2nd generation version control systems
  • 3rd generation version control systems

Basics - Git for Government and Team Collaboration

Initializing a Project Locally

Working with Versions and Branches

  • git init
  • git add (staging files)
  • git reset (unstaging files)
  • git commit
  • git log
  • Second commit and git diff
  • Stages overview
  • Branches
  • Setting up a Remote Repository

Basic Workflow - Feature Branches and Merges for Government Projects

  • Outline of branches
  • Initial project setup
  • Add develop branch and push to remote
  • Create feature branch JIRA-1 and push to remote
  • Create merge request and merge changes to develop

Advanced Workflow 1 - Parallel Feature Branches and Rebase Strategy for Government Teams

  • Simultaneous changes in multiple feature branches
  • git merge
  • git tag
  • git clone (copying a remote repository)

Advanced Workflow 2 - Hotfixes and Releases for Government Operations

Advanced Workflow 3 - Parallel Development of a Single Feature for Government Projects

  • Setting up CI/CD (Continuous Integration and Continuous Deployment)
  • Setting up Runners for a Project
  • Setting up pipelines and jobs with GitLab CI

File Management for Government Projects

  • Ignore files with .gitignore
  • Ignore future changes with: git update-index --skip-worktree
  • Change saved execution mode with: git update-index --chmod=+x
  • Keep empty folders with .gitkeep

Git Submodules for Government Repositories

Handling Large Files in Government Projects

  • Download and install Git LFS
  • Migrate existing large files to LFS
  • Server setup - GitHub
  • Server setup - GitLab

Useful Links for Government Teams

List of Commands for Government Use

Requirements

Prerequisites:

  • No technical prerequisites required for government use

Audience:

  • Project Managers, utilizing Git to manage version control of documents for government projects
  • Artists, employing Git to maintain versions of their work for government initiatives
  • Developers and Operations staff, using Git to track and manage versions of code or configuration files for government systems
 14 Hours

Number of participants


Price per participant

Testimonials (3)

Upcoming Courses

Related Categories