Git Commands

Summary

This note is a short Atomic-specific Git reference. The full general Git command reference lives in the main Git category, while this note keeps only the reminders that are most useful in the Fedora SWAY Atomic context.

Commands

CommandPurpose
which gitshow where Git is coming from on the current system
git --versionshow installed Git version
git config --global --listshow current Git config
git config --list --show-originshow config values and where they come from
ssh -T git@github.comtest GitHub SSH authentication

Atomic-specific checks

CheckWhy it matters
which githelps confirm whether Git is coming from the expected layer
git --versionconfirms Git works in the current environment
git config --list --show-originhelps debug config confusion across environments

Example checks

which git
git --version
git config --list --show-origin
ssh -T git@github.com

Notes

  • the general Git commands are documented in the main Git category
  • this note exists to support the Atomic workflow rather than duplicate the full Git reference
  • if Git behaves unexpectedly, the first useful question is often “which layer am I in right now?”