Use [ x = y ] instead of [ x == y ] in shell scripts.
abort: repository a not found!255requesting all changesabort: error: Connection refused255abort: repository a not found!255abort: destination '../a' already exists1abort: repository a not found!255abort: destination 'q' already exists