This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fugle_realtime_flutter:
git:
url: git@github.com:Make-a-good-soup/fugle-realtime-flutter.git
ref: maingit@github.com:Make-a-good-soup/fugle-realtime-flutter.git
