Commiting uipath code in git

When I’m changing a code and committing to git, do i need to commit the changes in local and project.json…I am not aware of its implications…Please help

have a look here it gives some ideas on how to use the git ignore files for handling a few settings: