Finding a cycle of length $4$ is a proof that the girth is at most $4$. The girth is the length of the shortest cycle, and we've found a cycle of length $4$, so either that's the shortest cycle, or there is an even shorter cycle than that.
To prove the girth is at least $4$, we need to rule out all shorter cycles. This graph is small, so we can just check directly that no $3$-cycles exist by trying all the possibilities. Another approach for this graph is to show that the graph is bipartite, as evidenced by the coloring below:
 There can be no odd cycles in a bipartite graph, so in particular there are no $3$-cycles.