Code

Fixed the check to make sure to exclude the HEAD symbolic refs when updating
drwxr-xr-x - contrib