Added the git add command after optimising.