plugins/sources/git.py: Use --shared instead of --hardlinks
This improves staging performance by avoiding making any copies of the objects in the cloned repository in the staging area before removing the .git directory.
This improves staging performance by avoiding making any copies of the objects in the cloned repository in the staging area before removing the .git directory.