# Specify commit hash (41b95ec in the context of updated requirements.txt):
package-one==1.9.4
git+https://github.com/path/to/package-two@41b95ec#egg=package-two
package-three==1.0.1
# Specify branch name (master):
git+https://github.com/path/to/package-two@master#egg=package-two
# Specify tag (0.1):
git+https://github.com/path/to/package-two@0.1#egg=package-two
# Specify release (3.7.1):
git+https://github.com/path/to/package-two@releases/tag/v3.7.1#egg=package-two
# Note that #egg=package-two is not a comment here, it is to explicitly state the package name