Clone a Perforce depot into a new Git repository
git p4 clone path/to/p4_depotSync changes from Perforce into the current Git repository
git p4 sync path/to/p4_depotRebase local commits on top of the latest Perforce changes
Submit Git changes back to Perforce
Clone the full Perforce history instead of only the latest changelist
git p4 clone path/to/p4_depot@all