There are a lot of utilities to create a Git animation for Linux, but I like the
Besides the Gif, also can create files in the MP4, WebM, APNG formats.
On the Arch Linux can be installed from the AUR:
The area, that will be captured during record, is transparent so it’s easy to select necessary field:
To change options, click on the three lines at the top right corner and choose Preferences:
And click on the Record:
Save the resulted file:
And watch it: