{pkgs, ...}:
with pkgs; {
  programs = {
    git = {
      enable = true;
      package = gitAndTools.gitFull;
      userName = "pupbrained";
      userEmail = "mars@pupbrained.xyz";
      aliases.pushall = "!git remote | xargs -L1 git push";
      delta.enable = true;
      signing.signByDefault = true;
      lfs.enable = true;

      extraConfig = {
        init.defaultBranch = "main";
        push.autoSetupRemote = true;
      };
    };

    gh = {
      enable = true;
      extensions = [gh-copilot gh-dash gh-markdown-preview];
    };
  };
}
