When you clone a git project on Ubuntu, you need to change its permissions to make it editable. The problem with doing this is by default git tracks file permission changes and consider it as modification in file. However, there is simple trick which you can use to stop git to ignore changes in file permission.
We can force git to ignore file permissions by running this command inside your terminal.
git config core.fileMode false
You can also set it as global cofiguration by using following command.
git config --global core.filemode false