Update symlink handling.
Update way we detect git changes.