feat: now exclude the files from the git index

The created symlinks are now excluded from the git index using the `git
update-index` command.
chore: simplify the code

Remove a constant which added too much complexity relatively to its benefits.