Hi, @adrianna2942842. The error message you are encountering, "Error fetching Git status," could be related to the size of the notebook output.
Databricks have a limitation on the notebook output size. Specifically, job clusters have a maximum notebook output size of 20 MB. If the output is more significant, it results in an error. This limit might be why reducing the number of tables generated using the "display(df)" function or limiting the number of columns and rows within a table helps mitigate the error.
When you are using multiple display() commands in your notebook, this increases the amount of output. Once the output exceeds 20 MB, the error occurs.
To avoid this, you can remove any unnecessary display() commands in your notebook. These can be useful for debugging but are not recommended for production jobs.
However, it's important to note that when you commit changes to a notebook, Databricks does not include the results with the notebook commit. All results are cleared before the commit is made. Therefore, the output size should not affect the commit process directly.