Skip to main content
Kill -9 Club
Sign in

Git on the server: a read-only key, and .git out of the web root

A deploy key that can only read, a repository that is not in the web root, and why git pull on the live site is not a switch.

22 minutesTechnical content last reviewed on 3 Aug 2026

This lesson is for signed-in learners

Create an account to subscribe and record your learning progress.

What this lesson builds

  • Keeping secrets out of the places that publish them
  • Granting exactly the access a person or process needs
  • Deploying a version you can switch back from