Fix backup for using git