Arduino IDE and GIT

Hello folks,
is there any way to use Arduino IDE and git versioning for my projects? If not, you have alternatives?
Thank you.

I also just use the CLI.
Arduino (thankfully) ignores the git files (unlike, say, emacs autosave files. Grr.)

You can use Git independent of any IDE ...

either command line, or GUIs are available

See also: