Git client

How do you interact with git and git forges?

Opinions

Learn the fundamentals

I believe that you should learn to use git in the CLI before relying on GUIs or LLMs to solve your problems (productive-failure), like:

  • Using git reflog instead of recloning the repository when you screw up
  • Using git blame and see that you made the change some time ago
  • Using git bisect to discover which commit broke the project

Using it makes your unknown unknowns smaller and your vocabullary better, so you can tell the agent what to do.

Learning Curve

But also use a tool (usually GUI/TUI) that allows you to deal visually with the complexity of multiple branches merging and Cthulhu merges

Examples

Command Line

git for your everyday work. You can use lazygit or magit (if you are an Emacs users) for power user workflows.

If you want to interact with GitHub, gh (official CLi) or hub might be better than interact with curl directly.

For GitLab, I have used lab, but also httpie with the GITLAB_TOKEN

Graphical

Android

I have used git on Android mostly to sync my text notes.

  • MGit
  • git on termux (Android)

I remember that I couldn’t use SSH Keys to pull the repository. Also that the Android 10 update broke things (scoped storage)

Related Notes