add code and index definition to git