Custom links and custom buttons are stored as a
WebLink, which is sub-component of
Custom object. If you wish to compare or deploy them, you need to ensure
Custom object is included in the Gearset metadata comparison filter.
On the comparison results page you can quickly narrow down your results to only show your new and/or changed
WebLink objects by filtering the
Metadata type column as shown below.