Clean commit history and remove junk files