Learn more about cloning repositories
You have read-only access
Don't use the bash-ism [[ ]]. Use the [ ], which is standard and perfectly adequate in this case.