Changed git logic for dependency update