Git tools

Install Git, Git LFS, Gitk, GitHub CLI, and the shared global Git defaults.

ansible-playbook -i inventory -K playbooks/lab-stack.yml --tags git

🔧 Manual setup and configuration

Configure your identity and register SSH or GPG keys with your Git hosting provider. The role deliberately does not set a name, email address, or credentials.

✅ Check

git --version
git lfs version
gh --version
git config --global init.defaultBranch

Use Git for local and version-control operations such as commits, branches, merges, tags, and push or pull. Use GitHub CLI (gh) for GitHub-specific operations such as pull requests, issues, Actions, repositories, and releases. See GitHub CLI for authentication and common commands.