No need to install git on fedora ppc64
Trap exit and run other cleanup commands first