Our teacher, the Beit Yosef, wrote in section 4: If the husband swore to give a get, they must release him from it beforehand so that it does not appear like duress; however, he may give a guarantee if he wishes, as this does not appear like duress. Thus far his words. Our teacher, the Rema, wrote: And the same applies if he performed a kinyan to divorce, etc., and even if he divorced due to an oath that he made of his own accord to divorce, the get is valid since they did not coerce him into it from the beginning. Thus far his words. The explanation of the matters is that there are those who were stringent regarding one who swore to divorce, that it is similar to duress. And it is not similar to what the sages, of blessed memory, said (46b): "The fruits of the world are konam upon me if I do not divorce you," where it is explained that this is not duress; this is because he made his vow dependent on another matter, on the fruits, and this is not duress because it is within his power not to eat the fruits and not to divorce. But in one who swore to divorce, where he made the get dependent on his oath, it is similar to duress (Beit Yosef in the name of the Maharam). Therefore, when he gives a monetary guarantee or another thing, it is similar to what the sages, of blessed memory, said, and it is not duress at all. However, the Ritva in a responsum (brought in the Beit Yosef at the end of siman 154) explained explicitly that those who are stringent in this do not do so because of the essential law, for certainly anything a person accepts upon himself of his own will is not duress, like the konam of fruits in the Gemara; rather, they were stringent in this initially, but after the fact there is no concern in this. And so ruled Maharal ibn Habib (ibid. in the Beit Yosef). And this is what our teacher, the Rema, wrote, that if he divorced due to an oath, the get is valid. And from all this there is clear proof for what we wrote above. And that which he wrote, "if he performed a kinyan to divorce," this is obvious that it is only a mere stringency, for a kinyan has no reasoning in this, as the Rambam wrote in chapter 5 of Sale, law 11; see there. And if he accepted a penalty with a kinyan, this penalty also does not take effect, for it is like "acquire you and a donkey" (Terumat HaDeshen siman 173). However, regarding "acquire you and a donkey," we hold that he acquires half, as is written in Choshen Mishpat siman 210, and so ruled the Rambam in chapter 22 of Sale; however, regarding the get, this is nothing (only regarding the essence of the matter, that the Terumat HaDeshen compares this to "acquire you and a donkey," this requires further study, and delve into it).
כתב רבינו הב"י בסעיף ד' אם נשבע הבעל ליתן גט צריך שיתירו לו קודם שלא יהא דומה לאונס אך ערבות יתן אם ירצה שאין זה דומה לאונס עכ"ל וכתב רבינו הרמ"א וה"ה אם קבל קניין לגרש וכו' ואפילו גירש מכח שבועה שעשה מעצמו לגרש הגט כשר הואיל ומתחלה לא אנסוהו על כך עכ"ל ביאור הדברים דהנה יש שהחמירו בנשבע לגרש שדומה לאונס ואינו דומה למה שאמרו חז"ל (מ"ו:) קונם פירות העולם עלי אם לא אגרשך דמבואר דאין זה אונס זהו מפני שתלה נדרו בדבר אחר בפירות ואין זה אונס דביכולתו שלא לאכול הפירות ולא לגרש אבל בנשבע לגרש שתלה הגט בשבועתו דומה לאונס (ב"י בשם הר"ם) ולכן כשנותן ערבות ממון או דבר אחר דומה למה שאמרו חז"ל ואין זה אונס כלל ומיהו הריטב"א בתשו' (הובא בב"י ס"ס קנ"ד) ביאר להדיא דהמחמירים בזה לא מפני עיקר הדין דבוודאי כל מה שהאדם מקבל עליו מרצונו אינו אונס כמו קונם פירות שבגמ' אלא שלכתחלה החמירו בזה אבל בדיעבד אין שום חשש בזה וכן פסק מהר"ל בן חביב (שם בב"י) וזהו שכתב רבינו הרמ"א דאם גירש מכח שבועה הגט כשר ומכל זה ראיה ברורה למה שכתבנו למעלה וזה שכתב אם קבל קניין לגרש זהו פשיטא דאינו אלא חומרא בעלמא דאין לקניין טעם בזה כמ"ש הרמב"ם פ"ה ממכירה דין י"א ע"ש ואם קבל קנס בקניין זה גם הקנס אינו חל דהוה כמו קני את וחמור (תה"ד סי' קע"ג) אמנם בקני את וחמור קיי"ל דקנה מחצה כמ"ש בח"מ סי' ר"י וכן פסק הרמב"ם פכ"ב ממכירה מיהו לעניין הגט אין זה כלום (רק בעיקר הדבר שמדמה זה התה"ד לקני את וחמור צ"ע בזה ודו"ק):