For larger branches, cut outside the branch bark and ridge collar (swollen area). Do not leave a protruding stub. If the limb is too small to have formed a collar cut close. When simply shortening a small branch, make the cut at a lateral bud or another lateral branch….
Source: https://www.arborday.org/trees/tips/keys-to-pruning.cfm