replace a with a gitlink directory
