added code formattings in git migration