How To Install Git-crypt?

How To Install Git-crypt?

git-crypt

Transparent file encryption in git

Maintainer: Andrew Ayer



Section: vcs

Install git-crypt

  • Debian apt-get install git-crypt Click to copy
  • Ubuntu apt-get install git-crypt Click to copy
  • Arch Linux pacman -S git-crypt Click to copy
  • Kali Linux apt-get install git-crypt Click to copy
  • Fedora dnf install git-crypt Click to copy
  • Raspbian apt-get install git-crypt Click to copy
  • macOS brew install git-crypt Click to copy

git-crypt

Transparent file encryption in git

git-crypt enables transparent encryption and decryption of files in a git repository. Files which you choose to protect are encrypted when committed, and decrypted when checked out. git-crypt lets you freely share a repository containing a mix of public and private content. git-crypt gracefully degrades, so developers without the secret key can still clone and commit to a repository with encrypted files. This lets you store your secret material (such as keys or passwords) in the same repository as your code, without requiring you to lock down your entire repository.

Installation of latest git-crypt command is available for Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.