Git Snapshot Overview
Git Snapshot Overview
A Git snapshot in Copado defines a connection between a Salesforce org and a Git repository/branch. Once the connection is established, Git snapshots can be used for the following:
- Taking a Snapshot.
- Committing files.
- Retrieving commits information into Copado.
Creating a Git Snapshot Record
- Navigate to the Git Snapshots tab.
- Click on New.
- Select your Git repository and Salesforce org.
- Set the branch. By default the master branch is selected, but this can be changed to a branch of your choice.
- Choose the Git Snapshot Permissions. Allow Snapshots & Commits, Allow Snapshots Only or Allow Commits Only.
- Pick the backup Frequency. The available frequencies are Daily, Weekly and Monthly.
- Click on Save.

Advanced Metadata Filter
This filter allows you to limit the metadata types that are included in the snapshots. For instance, if you only need to track code in Git, you can select ApexPage, ApexClass, ApexComponent and StaticResource.
Even if you need to backup all your metadata, you might want to exclude, documents, reports, roles or groups, which in big organizations have a lot of items and do not add too much value to the backup.

Compliance Details
Review the status of the Compliance Scan Runs against the components committed in the branch specified in the Git snapshot. Scan results records are stored in the Compliance Scan Results related list.
Static Resources to Be Unzipped
This allows you to choose the zipped static resources to be unzipped before being committed to the repository. You can version the files within a Zip file. JavaScript/CSS files within static resources will have the same traceability as apex code.

Other Information
Copado incorporates a field set, so that you can customize the information shown in the Other information section of the Git Snapshot record.
