$ sudo apt install make avr-libc avrdude binutils-avr gcc-avr
$ sudo pacman -S avr-gcc avr-binutils make avr-libc avrdude
Remember to give the current user permissions to access serial ports (on Ubuntu and derivatives you need to include the user in the dialout group, on Arch Linux the group is called uucp). Don't forget to logout and login to update the user permissions.
The required dependencies can be installed through the homebrew package manager.
Open a terminal and navigate to the cloned repository directory. Then execute the make command to compile the source code. To upload you need to issue the "make burn PGPORT=xxx" where 'xxx' is the serial port name where the Arduino UNO is connected (on Linux it's typically /dev/ttyACMx or /dev/ttyUSBx, on macOS it will have different names depending on the USB to Serial bridge used, but is typically /dev/tty.usbmodemxxxx, on Windows it will be a COMx, where 'x' varies from 1 to 9).